pkgname=device-lg-dory
pkgver=1
pkgrel=7
pkgdesc="LG G Watch"
url="https://github.com/postmarketOS"
arch="noarch"
license="MIT"
depends="postmarketos-base linux-lg-dory mkbootimg msm-fb-refresher mesa-dri-swrast"
makedepends=""
install=""
subpackages=""
source="deviceinfo 90-touchscreen-dev.rules"
options="!check"

package() {
	install -D -m644 "$srcdir"/deviceinfo \
		"$pkgdir"/etc/deviceinfo
	install -D -m644 "$srcdir"/90-touchscreen-dev.rules \
		"$pkgdir"/etc/udev/rules.d/90-touchscreen-dev.rules
}

sha512sums="7f3f1778ec0683ae337d4f8768336e61146f7546691af24b59fe3868c51e21f0da922a276450f8a732977a00e4fe0d0d4f80be25cb538d9231c477ffb5487de2  deviceinfo
f52a0bfab7e0067c0837662b5297e6c6d3433a1fc1cbdfaf3000227452d88980b99ac196541fda3bd57fd789580cb4ef96299b24e1bdb277f21f42418fcf17fa  90-touchscreen-dev.rules"
